package com.example.proyyj.Impl;

import com.example.proyyj.Entity.Calligraphy;
import com.example.proyyj.Entity.CollectionCalligraphy;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectionCalligraphyImpl {
    CollectionCalligraphy collectionCalligraphy(int UserId,int CalligraphyId);//查看是否收藏
    int addCalligraphy(int UserId,int CalligraphyId);//收藏
    int delCalligraphy(int UserId,int CalligraphyId);//取消收藏
    List<CollectionCalligraphy> lookCalligraphylist(int UserId);//查看用户收藏
    Calligraphy lookCalligraphy (int CalligraphyId);
}
